<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use DB;
class Role_PermissionSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
        	['r_id'=>1,'p_id'=>1],
        	['r_id'=>1,'p_id'=>2],
        	['r_id'=>1,'p_id'=>3],
        	['r_id'=>1,'p_id'=>4],
        	['r_id'=>2,'p_id'=>2],
        	['r_id'=>2,'p_id'=>3],
        	['r_id'=>2,'p_id'=>4],
        ];

        DB::table('role_permission')->insert($data);
    }
}
